package com.puntodonna.fogliocassa.shared;

import java.io.Serializable;
import java.util.Date;

import com.googlecode.objectify.annotation.Entity;
import com.googlecode.objectify.annotation.Id;
import com.googlecode.objectify.annotation.Index;

@Entity
public class UserObj implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	protected Long id;
	@Index
	protected String name;

	protected String password;

	protected Date lastAccess;

	public UserObj() {

	}

	public Long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getPassword() {
		return password;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public Date getLastAccess() {
		return lastAccess;
	}
	
	public void setLastAccess(Date lastAccess) {
		this.lastAccess = lastAccess;
	}

}
